package KMLGenerator;

/**
 * This class represents the style of a vert (MapVert) in the Agreement map.
 * @author Andrea Piermarteri, Matteo Micheletti, Diego Cervellini
 *
 */
public class MVStyle extends Style {
	String scale;
	String iconHref;

	/**
	 * Constructor of MVStyle.
	 * @param id
	 * @param color
	 * @param scale
	 * @param iconHref
	 */
	public MVStyle(String id, String color, String scale, String iconHref) {
		super(id, color);
		this.scale = scale;
		this.iconHref = iconHref;
	}
	
	/**
	 * Constructor of MVStyle without icon.
	 * @param id
	 * @param color
	 * @param scale
	 */
	public MVStyle(String id, String color, String scale) {
		super(id, color);
		this.scale = scale;
		this.iconHref = null;
	}

	/**
	 * 
	 * @return the scale of the icon.
	 */
	public String getScale() {
		return scale;
	}

	/**
	 * Sets the scale of the icon.
	 * @param scale
	 */
	public void setScale(String scale) {
		this.scale = scale;
	}

	/**
	 * 
	 * @return the icon of the MapVerts with this style.
	 */
	public String getIconHref() {
		return iconHref;
	}

	/**
	 * Sets the icon of the MapVerts with this style.
	 * @param iconHref
	 */
	public void setIconHref(String iconHref) {
		this.iconHref = iconHref;
	}

}
